<template>
  <div class="">
    <span :class="[tagClass, 'tag']">未披露</span>
    <div>{{data.content}}</div>
    <!-- <div v-for="(item, index) in ceshi" :key="index" class="text_content">
      <span>{{ item.label }}</span>
      <p>{{ item.value }}</p>
    </div> -->
    <!-- <el-skeleton :rows="1" animated /> -->
  </div>
</template>

<script>
export default {
  props: ["data"],
  data() {
    return {
      ceshi: [
        {
          label: "相似特征:",
          value: "一种运用到智能扫地机上具有自清洁及污水回收的拖地机构拖地机构",
        },
        {
          label: "解释:",
          value: "一种运用到智能扫地机上具有自清洁及污水回收的拖地机构拖地机构",
        },
      ],
    };
  },
  computed: {
    tagClass() {
      return "success";
    },
  },
};
</script>
<style scoped lang="less">
div,
span {
  box-sizing: border-box;
}
.tag {
  border-radius: 4px;
  padding: 1px 8px;
  font-weight: 600;
  font-size: 10px;
  line-height: 16px;
  width: fit-content;
}
.info {
  color: #626262;
  background: rgba(0, 0, 0, 0.04);
}
.warning {
  background: #ffefe0;
  color: #ff8100;
}
.success {
  background: #e2f7ec;
  color: #10bc60;
}
.text_content {
  display: flex;
  font-size: 14px;
  align-items: flex-start;
  margin-top: 12px;
  span {
    width: 65px;
    color: #a3a3a3;
    line-height: 22px;
  }
  p {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #181818;
    line-height: 22px;
  }
}
/deep/ .el-skeleton__p.is-first {
  width: 100%;
}
</style>
